package day05;
import java.util.Arrays;
public class TaskFive {
    public static void main(String[] args) {
        int[] a = new int[10];
        for (int i = 0;i<a.length;i++){
            a[i]=(int)(Math.random()*100);
            System.out.println(a[i]);
        }
        Arrays.sort(a);
        System.out.println("排列后");
        for (int i =0;i<a.length;i++){
            System.out.println(a[i]);
        }
    }
}
